package day06.test5;

import java.util.Arrays;

public class test5 {
    public static void main(String[] args) {

        int[] arr2={6,5,4,1,2,3};
        System.out.println(Arrays.toString(arr2));

        test5.printArray(arr2);
        System.out.println(Arrays.toString(arr2));
    }
    public static void printArray(int[] arr)
    {
        for(int i = 0;i<arr.length;i++)
        {
            arr[i] = i;
        }
    }
}
